<h1>Create ECard</h1>

<div class="ecard-create">
<div class="photo"><img class="photo" src="<%= @image.fullurl %>" /></div>
<div class="hw-form">
    <%= start_form_tag %>
        <table border="0">
        <tr>
            <td colspan="2">To:</td>
        </tr>
        <tr>
            <td>Name:</td>
            <td>Email Address:</td>
        </tr>
        <tr>
            <td><%= text_field_tag :to_name, params[:to_name] %></td>
            <td><%= text_field_tag :to_email, params[:to_email] %></td>
        </tr>
        <tr>
            <td colspan="2">From:</td>
        </tr>
        <tr>
            <td>Name:</td>
            <td>Email Address:</td>
        </tr>
        <tr>
            <td><%= text_field_tag :from_name, params[:from_name] %></td>
            <td><%= text_field_tag :from_email, params[:from_email] %></td>
        </tr>
        <tr>
            <td colspan="2">Message:</td>
        </tr>
        <tr>
            <td colspan="2"><%= text_area_tag :message, params[:message], :size => "39x10" %></td>
        </tr>
        <tr>
            <td colspan="2"><%= submit_tag "Send ECard" %></td>
        </tr>
        </table>
    <%= end_form_tag %>

</div>
</div>